import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//导入vant,因为移动端手机信号问题, 所以PC端一般是全部引入, 手机端一般是按需引入
// 这样可以提升首屏加载性能
import { Tab, Tabs,Sidebar, SidebarItem,NoticeBar,Popup,Rate,Divider,Dialog,Icon,Skeleton,ActionSheet,Stepper     } from 'vant'
import 'vant/lib/index.css'
Vue.use(Tab).use(Tabs).use(Sidebar).use(SidebarItem).use(NoticeBar).use(Popup).use(Rate).use(Divider).use(Dialog).use(Icon).use(Skeleton).use(ActionSheet).use(Stepper )

//导入重置样式
import  '@/assets/styles/reset.scss'
//导入动画样式
import '@/assets/styles/animate.scss'
//导入公共颜色样式
import '@/assets/styles/theme.scss'

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
